﻿@model CofeWebApplication.ServiceReference1.CoffeeDTO

@{
    ViewBag.Title = "Details";
}

<div class="jumbotron-fluid">
    <h2 class="text-center" style="color:antiquewhite; text-shadow: 2px 2px 10px #000000; font-size: 3.3vw">Product Details</h2>
    <h3 class="text-center" style="color:antiquewhite; text-shadow: 2px 2px 10px #000000; font-size: 3.3vw">@Html.DisplayFor(model => model.Name)</h3>
</div>

<div class="container" style=" padding-top:50px;">
    <div class=" row">

        <div class=" col-md-8">
            <div>
                <h4>Description</h4>
                <hr />
                <dl class="dl-horizontal">
                    <dt>
                        @Html.DisplayNameFor(model => model.Name)
                    </dt>

                    <dd>
                        @Html.DisplayFor(model => model.Name)
                    </dd>

                    <dt>
                        @Html.DisplayNameFor(model => model.Origin)
                    </dt>

                    <dd>
                        @Html.DisplayFor(model => model.Origin)
                    </dd>

                    <dt>
                        @Html.DisplayNameFor(model => model.CoffeeType)
                    </dt>

                    <dd>
                        @Html.DisplayFor(model => model.CoffeeType)
                    </dd>

                    <dt>
                        @Html.DisplayNameFor(model => model.Rating)
                    </dt>

                    <dd>
                        <span> @Html.DisplayFor(model => model.Rating) / 5</span>
                    </dd>

                    <dt>
                        @Html.DisplayNameFor(model => model.Strength)
                    </dt>

                    <dd>
                        @Html.DisplayFor(model => model.Strength)
                    </dd>

                    <dt>
                        @Html.DisplayNameFor(model => model.Description)
                    </dt>

                    <dd>
                        @Html.DisplayFor(model => model.Description)
                    </dd>

                    <dt>
                        @Html.DisplayNameFor(model => model.Stock)
                    </dt>

                    <dd>
                        @Html.DisplayFor(model => model.Stock)
                    </dd>

                    <dt>
                        @Html.DisplayNameFor(model => model.Price)
                    </dt>

                    <dd>
                        <span> £@Html.DisplayFor(model => model.Price)</span>
                    </dd>

                </dl>
            </div>
            <p>
                @Html.ActionLink("Edit", "Edit", new { id = Model.Id }) |
                @Html.ActionLink("Back to List", "Index")
            </p>
        </div>

        <div class="col-md-4">
            <img src="~/Content/Image/product-01.jpg" />
        </div>
    </div>

</div>  